package cate.common.table.guild;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class GuildDonateRow extends ERow {
    @NoteField(value = "捐献消耗配置")
    public String consumeStr;

    @NoteField(value = "贡献奖励")
    public int PNum;

    @NoteField(value = "公会经验奖励")
    public int exp;

    @NoteField(value = "日志文本ID")
    public int tipsId;

    @NoteField(value = "公会活跃任务ID")
    public int taskId;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID",1);
        this.consumeStr = xrw.getString("捐献消耗","");
        this.PNum = xrw.getInteger("贡献奖励",100);
        this.exp = xrw.getInteger("公会经验", 0);
        this.tipsId = xrw.getInteger("日志文本ID", 0);
        this.taskId = xrw.getInteger("公会活跃任务ID", 0);
    }


}
